package org.spamforces.dao.impl;

import org.spamforces.dao.RecipientProviderDao;
import org.spamforces.model.RecipientProvider;

import java.util.List;

/**
 * @author IvanPopelyshev (ivan.popelyshev@gmail.com)
 */
public class RecipientProviderDaoImpl extends ApplicationDaoImpl<RecipientProvider>
        implements RecipientProviderDao {
    @Override
    public RecipientProvider find(long id) {
        return super.find(id);
    }

    @Override
    public List<RecipientProvider> findAll() {
        return findBy("1 ORDER BY id");
    }
}
